//
//  AbstractAchievement.h
//  ATM Killer
//
//  Created by USoft on 8/4/14.
//
//

#ifndef ABSTRACT_ACHIEVEMENT_H
#define ABSTRACT_ACHIEVEMENT_H

#include "cocos2d.h"
#include "../../../ugame/include/ugame.h"
#include "../../../util/include/util.h"
USING_NS_CC;
using namespace ugame;
class AbstractAchievement : public Ref {
    UG_PROPERTY_FULL(int, achievementID, AchievementID);
    UG_PROPERTY_FULL(string, name, Name);
    UG_PROPERTY_FULL(string, description, Description);
    UG_PROPERTY_FULL(int, type, Type);
    UG_PROPERTY_FULL(int, effectType, EffectType);
    UG_PROPERTY_FULL(float, effectPercent, EffectPercent);
    UG_PROPERTY_FULL(int, status, Status);
    UG_PROPERTY_FULL(Face*, face, Face);
public:
    AbstractAchievement();
    ~AbstractAchievement();
    virtual bool examine();
};
#endif /* defined(__ATM_Killer__AbstractAchievement__) */
